/*
 * @Author: zhangyongbing
 * @Date: 2021-12-22 14:52:17
 * @LastEditors: gonghairun
 * @LastEditTime: 2022-08-27 17:01:04
 * @Description: file content
 * @FilePath: \psys-ppm-web\src\network\config.js
 */
const config = {
  pre: {
    ConfigBaseURL: 'http://127.0.0.1:9091',
    ConfigWsUrl: 'ws://192.168.75.133:9898/ws',
    ConfigExternalUrl: 'http://pps.portzj.com/#/login?redirect=%2Fdashboard',
    ConfigPreviewUrl: 'http://10.201.5.40:8012/onlinePreview?url='
  },
  prdIn: {
    ConfigBaseURL: 'http://192.168.75.140',
    ConfigWsUrl: 'ws://192.168.75.142:9898/ws',
    ConfigExternalUrl: 'http://pps.portzj.com/#/login?redirect=%2Fdashboard',
    ConfigPreviewUrl: 'http://192.168.0.172:8012/onlinePreview?url='
  },
  prdOut: {
    ConfigBaseURL: 'http://api.portzj.com',
    ConfigWsUrl: 'ws://message.portzj.com/ws',
    ConfigExternalUrl: 'http://pps.portzj.com/#/login?redirect=%2Fdashboard',
    ConfigPreviewUrl: 'http://192.168.0.172:8012/onlinePreview?url='
  }
}
export default process.env.VUE_APP_ENV == 'pre' ? config.pre : process.env.VUE_APP_ENV == 'prdIn' ? config.prdIn : config.prdOut
